﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Workflow.Domain.Enums;

namespace Workflow.Application.DTOs.Output
{
    /// <summary>
    /// 审批记录DTO
    /// </summary>
    public class AuditDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 流程实例ID
        /// </summary>
        public string WorkflowId { get; set; }

        /// <summary>
        /// 审核步骤节点ID
        /// </summary>
        public string StepId { get; set; }

        /// <summary>
        /// 审核步骤节点名称
        /// </summary>
        public string StepName { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        public WorkFlowAuditStatuEnum StatuEnum { get; set; }

        /// <summary>
        /// 状态描述
        /// </summary>
        public string StatusDescription { get; set; }

        /// <summary>
        /// 审批备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 审核人ID
        /// </summary>
        public long? AuditUserId { get; set; }

        /// <summary>
        /// 审核人姓名
        /// </summary>
        public string AuditUserName { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime CreatedTime { get; set; }
    }
}
